8775ec08b2d41eea27d599b9310e86a6e1f62261,plugins/devkit/src/inspections/RegistrationProblemsInspection.java,RegistrationProblemsInspection,checkPluginXml,#XmlFile#InspectionManager#boolean#,201
Before Change
@Nullable
private ProblemDescriptor[] checkPluginXml(XmlFile xmlFile, InspectionManager manager, boolean isOnTheFly) {
final XmlTag rootTag = xmlFile.getDocument().getRootTag();
assert rootTag != null;
final RegistrationChecker checker = new RegistrationChecker(manager, xmlFile, isOnTheFly);
After Change
@Nullable
private ProblemDescriptor[] checkPluginXml(XmlFile xmlFile, InspectionManager manager, boolean isOnTheFly) {
final XmlDocument document = xmlFile.getDocument();
if (document == null) {
return null;
}
final XmlTag rootTag = document.getRootTag();